#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <math.h>

int main() {
    double a, b, c;
    scanf("%lf %lf %lf", &a, &b, &c);
    float p = (a + b + c) / 2;
    printf("circumference=%.2lf area=%.2lf", a + b + c, sqrt(p * (p - a) * (p - b) * (p - c)));
    return 0;
}